package com.zhiche.lisa.lspm.dao.mapper.lsp;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zhiche.lisa.lspm.dao.model.lsp.LspBankAccount;
import com.zhiche.lisa.lspm.dao.model.lsp.bo.ModifyLspBankAccountBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 承运商银行账户 Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-06-01
 */
public interface LspBankAccountMapper extends BaseMapper<LspBankAccount> {

    /**
     * 批量添加
     * @param bankAccountList
     */
    void batchInsert(@Param("bankAccountList") List<LspBankAccount> bankAccountList);

    /**
     * 查询承运商下的银行账号信息
     * @param lspId
     * @return
     */
    List<ModifyLspBankAccountBO> selectByLspId(@Param("lspId") Long lspId);
}
